package com.ruoyi.purchase.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 团购管理对象 t_purchase
 * 
 * @author ruoyi
 * @date 2025-09-10
 */
public class TPurchase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 团购ID */
    private Long purchaseId;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String purchaseName;

    /** 排序 */
    @Excel(name = "排序")
    private Long purchaseSorting;

    /** 状态 */
    @Excel(name = "状态")
    private Long purchaseStatus;

    public void setPurchaseId(Long purchaseId) 
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId() 
    {
        return purchaseId;
    }

    public void setPurchaseName(String purchaseName) 
    {
        this.purchaseName = purchaseName;
    }

    public String getPurchaseName() 
    {
        return purchaseName;
    }

    public void setPurchaseSorting(Long purchaseSorting) 
    {
        this.purchaseSorting = purchaseSorting;
    }

    public Long getPurchaseSorting() 
    {
        return purchaseSorting;
    }

    public void setPurchaseStatus(Long purchaseStatus) 
    {
        this.purchaseStatus = purchaseStatus;
    }

    public Long getPurchaseStatus() 
    {
        return purchaseStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchaseId", getPurchaseId())
            .append("purchaseName", getPurchaseName())
            .append("purchaseSorting", getPurchaseSorting())
            .append("purchaseStatus", getPurchaseStatus())
            .toString();
    }
}
